

$(document).ready(function () {
    getTotal();
    function getTotal() {
        var sum = 0;
        $(".check").each(function () {
            if (this.checked == true) {
                var price = parseInt($(this).parent().find('.promotion_price').html());
                sum += price;
            }
        });
        $(".shop_price").text(sum);
    }
});